package com.learn.dao;

import com.learn.pojo.Books;

import java.util.List;

/**
 * Copyright: Copyright (c) 2020 Asiainfo
 *
 * @ClassName: com.learn.dao.BooksMapper
 * @Description: 该类的功能描述
 * @version: v1.0.0
 * @author: lipan
 * @date: 2020/2/9 18:26
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ------------------------------------------------------------
 * 2020/2/9      lipan          v1.0.0               修改原因
 */

public interface BooksMapper {

    int addBook(Books books);

    int deleteBook(int bookId);

    int updateBook(Books books);

    Books getBookById(int bookId);

    List<Books> findAll();





}
